<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
		<button>点击</button>
		<script type="text/javascript">
			var btn =document.querySelector('button');
			btn.onclick=function(){
				this.disabled=true;
				setTimeout(function(){
					this.disabled=false;
				}.bind(btn),3000)
				
			}
		</script>
	</body>
</html>
